-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(api): query parameters to trigger events #1064
feat(api): query parameters to trigger events #1064
Conversation
func TestMetricProviderMiddleware(t *testing.T) { | ||
Convey("checking correctness of parameter", t, func() { | ||
responseWriter := httptest.NewRecorder() | ||
defaultMetric := ".*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
у тебя вроде бы где-то была на такое публичная константа
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
она не публичная, в handler
/build |
/build |
Build and push Docker images with tag: 2024-08-14.8560887 |
1 similar comment
Build and push Docker images with tag: 2024-08-14.8560887 |
This reverts commit 8560887.
Add some query parameters to
/api/event/{trigger_id}
Offered query parameters are:
from
- start of time rangeto
- end of time rangemetric
- regular expression which will be used onNotificationEvent.Metric
fieldstates
- separated string of states, separator is','